import { PageQuery } from '@/api/model/baseModel';

export interface OrderDetailVo {
  id?: number;
  orderId?: number;
  orderNo?: string;
  productId?: number;
  productName?: string;
  productImage?: string;
  price?: string;
  quantity?: number;
  subtotal?: string;
  channelNo?: string;
  channelPosition?: string;
  status?: number;
  statusName?: string;
  createTime?: string;
  updateTime?: string;
}

export interface OrderReviewQuery extends PageQuery {
  orderNo?: string;
  userId?: number;
  status?: number;
  rating?: number;
  pageNum?: number;
  pageSize?: number;
}

export interface OrderReviewVO {
  id?: number;
  orderId?: number;
  orderNo?: string;
  userId?: number;
  rating?: number;
  content?: string;
  images?: string;
  status?: number;
  createTime?: string;
  updateTime?: string;
  orderDetail?: OrderDetailVo[];
}

export interface OrderReviewForm {
  id?: number;
  orderId?: number;
  orderNo?: string;
  userId?: number;
  rating?: number;
  content?: string;
  images?: string;
  status?: number;
}
